#Boa:Frame:Frame_SeleCLi

import wx

def create(parent):
    return Frame_SeleCLi(parent)

[wxID_FRAME_SELECLI, wxID_FRAME_SELECLIBUTTON1, wxID_FRAME_SELECLIBUTTON2, 
 wxID_FRAME_SELECLICHOICE1, wxID_FRAME_SELECLIPANEL1, 
] = [wx.NewId() for _init_ctrls in range(5)]

class Frame_SeleCLi(wx.Frame):
    def _init_ctrls(self, prnt):
        # generated method, don't edit
        wx.Frame.__init__(self, id=wxID_FRAME_SELECLI, name=u'Frame_SeleCLi',
              parent=prnt, pos=wx.Point(444, 321), size=wx.Size(405, 137),
              style=wx.DEFAULT_FRAME_STYLE, title=u'Frame_SeleCLi')
        self.SetClientSize(wx.Size(389, 99))

        self.panel1 = wx.Panel(id=wxID_FRAME_SELECLIPANEL1, name='panel1',
              parent=self, pos=wx.Point(0, 0), size=wx.Size(389, 99),
              style=wx.TAB_TRAVERSAL)

        self.choice1 = wx.Choice(choices=[], id=wxID_FRAME_SELECLICHOICE1,
              name='choice1', parent=self.panel1, pos=wx.Point(46, 23),
              size=wx.Size(296, 21), style=0)
        self.choice1.Center(wx.HORIZONTAL)

        self.button1 = wx.Button(id=wxID_FRAME_SELECLIBUTTON1,
              label=u'Confirmar', name='button1', parent=self.panel1,
              pos=wx.Point(109, 64), size=wx.Size(75, 23), style=0)
        self.button1.Bind(wx.EVT_BUTTON, self.OnButton1Button,
              id=wxID_FRAME_SELECLIBUTTON1)

        self.button2 = wx.Button(id=wxID_FRAME_SELECLIBUTTON2,
              label=u'Cancelar', name='button2', parent=self.panel1,
              pos=wx.Point(208, 64), size=wx.Size(75, 23), style=0)
        self.button2.Bind(wx.EVT_BUTTON, self.OnButton2Button,
              id=wxID_FRAME_SELECLIBUTTON2)

    def __init__(self, parent):
        self._init_ctrls(parent)

    def OnButton1Button(self, event):
        event.Skip()

    def OnButton2Button(self, event):
        import Frame_EfetuarPagamento
        Frame_EfetuarPagamento.create(None, None, None).Show()
        self.Close()
